package ah.szxy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 服务提供者启动类
 *
 * @author caohaiyang
 * @create 2020-09-09 下午 03:24
 */
@SpringBootApplication
@EnableDiscoveryClient  //开启服务的注册与发现
public class ProviderServiceApplication {


    public static void main(String[] args) {
        SpringApplication.run(ProviderServiceApplication.class,args);
    }
}